package com.venta.autopartes.car;

import org.apache.commons.lang.WordUtils;

public class Address {
	private Country country;
	private State state;
	private Town town;
	private Suburb suburb;
	private String street;
	private String interiorNumber;
	private String exteriorNumber;
	private Zipcode zip;
	public Country getCountry() {
		return country;
	}
	public void setCountry(Country country) {
		this.country = country;
	}
	public State getState() {
		return state;
	}
	public void setState(State state) {
		this.state = state;
	}
	public Town getTown() {
		return town;
	}
	public void setTown(Town town) {
		this.town = town;
	}
	public Suburb getSuburb() {
		return suburb;
	}
	public void setSuburb(Suburb suburb) {
		this.suburb = suburb;
	}
	public String getStreet() {
		return WordUtils.capitalizeFully(street);
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getInteriorNumber() {
		return interiorNumber;
	}
	public void setInteriorNumber(String interiorNumber) {
		this.interiorNumber = interiorNumber;
	}
	public String getExteriorNumber() {
		return exteriorNumber;
	}
	public void setExteriorNumber(String exteriorNumber) {
		this.exteriorNumber = exteriorNumber;
	}
	public Zipcode getZip() {
		return zip;
	}
	public void setZip(Zipcode zip) {
		this.zip = zip;
	}
	
	
}
